package items;

public class RankingItem 
{
	private int id;
	private float nota;
	private String tabla;
	
	public RankingItem( int id , float nota , String tabla )
	{
		this.id = id;
		this.nota = nota;
		this.tabla = tabla;
	}
	
	public int getID()
	{
		return id;
	}
	
	public float getNota()
	{
		return nota;
	}
	
	public String getTabla()
	{
		return tabla;
	}
	
	public String getSQL( int i )
	{
		return "INSERT INTO ranking VALUES(" + i + "," + id + ",'" + tabla + "','" + nota + "')";
	}
}
